<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ include file="/pages/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>广东工业大学招生办后台管理</title>
<script>
	function check(){
		var title = document.getElementById("title");
		if(title.value == ""){
			alert("名称不能为空！");
			return false;
		}
		return true;
	}
	
</script>
</head>

<body>
<s:if test="hasActionMessages()">      
         <s:iterator value="actionMessages">      
             <script language="JavaScript">      
                 alert("<s:property escape="false"/>");     
             </script>      
         </s:iterator>      
      </s:if> 
	<form action="array-info-admin!save.action"  method="post" name="form" onsubmit="return check()">
	<input type="hidden" name="name" value="${name}"/>
	<s:if test="entity.id!=null">
	<input type="hidden" name="id" value="${entity.id }"/>
	</s:if>
	<s:else>
	<input type="hidden" name="arrayId" value="${arrayId}"/>
	</s:else>
	<table>
		<tr>
			<td>
			<s:if test='name=="00000095"'>
			日期修改：
			</s:if>
			<s:else>
			名称：
			</s:else>
			</td>
			<td><input type="text" name="entity.itemValue" id="title" value="${entity.itemValue}" style="width:400px;"/>
			<s:if test='name=="00000095"'>
			格式：2010年1月1日
			</s:if>
			</td>
		</tr>
		<tr>
			<td></td>
			<td><input type="submit" value="提交" /></td>
		</tr>
	</table>
	</form>
</body>
</html>
